package com.zigong.app.beans;

import com.ruihang.generalibrary.ui.util.IListData;
import com.zigong.app.ui.util.IListShowData;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/8/10 0010.
 */

public class FProgramme implements Serializable, IListShowData {
    private static final long serialVersionUID = 5013997559234699140L;
    private String contentUrl;
    private String playAmount;
    private String programId;
    private String programImage;
    private String programIntro;
    private String programTitle;
    private String programTotal;
    private String programType;
    private String programUrl;
    private String updateInfo;
    private int viewType;
    private NewsItem programme;

    @Override
    public String getDataTitle() {
        return programTitle;
    }

    @Override
    public String getDataImg() {
        return programImage;
    }

    @Override
    public String getDataTag() {
        return updateInfo;
    }

    @Override
    public String getDataId() {
        return programId;
    }

    @Override
    public int getDataType() {
        return 0;
    }

    @Override
    public int getDataViewType() {
        return viewType;
    }

    @Override
    public IListData getOwner() {
        return null;
    }

    @Override
    public String getTime() {
        return null;
    }

    @Override
    public IListShowData getOwenerData() {
        return null;
    }

    public FProgramme setContentUrl(String contentUrl) {
        this.contentUrl = contentUrl;
        return this;
    }

    public String getPlayAmount() {
        return playAmount;
    }

    public FProgramme setPlayAmount(String playAmount) {
        this.playAmount = playAmount;
        return this;
    }

    public String getProgramId() {
        return programId;
    }

    public FProgramme setProgramId(String programId) {
        this.programId = programId;
        return this;
    }

    public String getProgramImage() {
        return programImage;
    }

    public FProgramme setProgramImage(String programImage) {
        this.programImage = programImage;
        return this;
    }

    public String getProgramIntro() {
        return programIntro;
    }

    public FProgramme setProgramIntro(String programIntro) {
        this.programIntro = programIntro;
        return this;
    }

    public String getProgramTitle() {
        return programTitle;
    }

    public FProgramme setProgramTitle(String programTitle) {
        this.programTitle = programTitle;
        return this;
    }

    public String getProgramTotal() {
        return programTotal;
    }

    public FProgramme setProgramTotal(String programTotal) {
        this.programTotal = programTotal;
        return this;
    }

    public String getProgramType() {
        return programType;
    }

    public FProgramme setProgramType(String programType) {
        this.programType = programType;
        return this;
    }

    public String getProgramUrl() {
        return programUrl;
    }

    public FProgramme setProgramUrl(String programUrl) {
        this.programUrl = programUrl;
        return this;
    }

    public FProgramme setUpdateInfo(String updateInfo) {
        this.updateInfo = updateInfo;
        return this;
    }

    public String getContentUrl() {
        return contentUrl;
    }

    public String getUpdateInfo() {
        return updateInfo;
    }

    public int getViewType() {
        return viewType;
    }

    public FProgramme setViewType(int viewType) {
        this.viewType = viewType;
        return this;
    }

    public NewsItem getProgramme() {
        return programme;
    }

    public FProgramme setProgramme(NewsItem programme) {
        this.programme = programme;
        return this;
    }

    @Override
    public String toString() {
        return "FProgramme{" +
                "contentUrl='" + contentUrl + '\'' +
                ", playAmount='" + playAmount + '\'' +
                ", programId='" + programId + '\'' +
                ", programImage='" + programImage + '\'' +
                ", programIntro='" + programIntro + '\'' +
                ", programTitle='" + programTitle + '\'' +
                ", programTotal='" + programTotal + '\'' +
                ", programType='" + programType + '\'' +
                ", programUrl='" + programUrl + '\'' +
                ", updateInfo='" + updateInfo + '\'' +
                ", viewType=" + viewType +
                ", programme=" + programme +
                '}';
    }
}
